package subject.homework.zoosystrem.sons1;
import subject.homework.zoosystrem.father.*;
public class UserAdmin extends User {

    private String adminTypeOfWork; //工种
    //重写
    public UserAdmin(){}
    public UserAdmin(String teacherName){
        setUserName(teacherName);
    }
    public UserAdmin(String adminName,String adminTypeOfWork){
        this.setUserName(adminName);
        this.setAdminTypeOfWork(adminTypeOfWork);
    }

    public String getAdminTypeOfWork() {
        return adminTypeOfWork;
    }
    public void setAdminTypeOfWork(String adminTypeOfWork) {
        this.adminTypeOfWork = adminTypeOfWork;
    }
}
